package com.example.miniappssm.service;

import com.example.miniappssm.bean.Admin;

import java.util.List;

public interface AdminService {

    List<Admin> showAllAdmin();

    Admin showAdminByOpenid(String openid);

    boolean openidIsInAdmins(String openid);

    void addAdmin(Admin admin);

    void removeAdminByOpenid(String openid);

    void updateAdmin(Admin admin);
}
